package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.entity.system.SysRole;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author syh
 * @create 2023-08-15 17:17
 */
public interface SysRoleService {
    PageInfo<SysRole> findPageByKeyword(Integer pageNum, Integer pageSize, String keyword);

    void deletById(Long id);

    void save(SysRole sysRole);

    SysRole getById(Long id);

    void updateById(SysRole sysRole);

    List<SysRole> listAll(Long userId);
}
